package com.lam.common.base.domain;

import com.lam.common.utils.JsonUtil;

/**
 * Entity基类
 * 
 * @author lam
 */
public abstract class BaseParam {
	
	/** 关键字 */
	protected String keywords;
	
	/** 参数主键 */
	protected String id;
	
	/** 创建人 */
	protected String createBy;
	
	/** 修改人 */
	protected String updateBy;
	
	/** 开始时间 */
	protected String beginTime;
	
	/** 结束时间 */
	protected String endTime;
	
	// ======= 查询条件字段 ==================
	
	@Override
    public String toString() {
        return toJSONString();
    }
    
    public String toJSONString() {
    	return JsonUtil.toJsonString(this);
    }

    public String getKeywords() {
		return keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	
	public String getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

}
